package com.itheima.reggie.service;

import com.itheima.reggie.domain.Category;

import java.util.List;

/**
 * @Classname CategoryService
 * @Description TODO
 * @Date 2023/3/2 14:34
 * @Created by 11404
 */


public interface CategoryService {

    //查询菜品分类表
    List<Category> findAllCategory();

    //新增菜品分类
    void saveCategory(Category category);

    //修改菜品分类
    void updateCategory(Category category);

    //删除菜品分类
    void deleteCategory(Long id);

    //根据type查询分类列表
    List<Category> CategoryId(Integer type);

}
